
"""
namespace EKBVarTypes
{
	const int32 Empty = 0;
	const int32 Ansichar = 1;
	const int32 Bool = 2;
	const int32 ByteArray = 3;
	const int32 Double = 4;
	const int32 Float = 5;
	const int32 Int8 = 6;
	const int32 Int16 = 7;
	const int32 Int32 = 8;
	const int32 Int64 = 9;
	const int32 String = 10;
	const int32 Widechar = 11;
	const int32 UInt8 = 12;
	const int32 UInt16 = 13;
	const int32 UInt32 = 14;
	const int32 UInt64 = 15;
	const int32 Vector = 16;
	const int32 Vector2d = 17;
	const int32 Vector4 = 18;
	const int32 KBVarArray = 19;
	const int32 KBVarMap = 20; /*TMap<FString, KBVar>*/
};
"""

VarNumType2StringType = {
	1  : "STRING",
	2  : "INT8",
	4  : "DOUBLE",
	5  : "FLOAT",
	7  : "INT16",
	8  : "INT32",
	9  : "INT64",
	11 : "UNICODE",
	12 : "UINT8",
	13 : "UINT16",
	14 : "UINT32",
	15 : "UINT64",
	16 : "VECTOR3",
	17 : "VECTOR2",
	18 : "VECTOR4",
}

VarStringType2NumType = {
	"STRING"  : 1 ,
	"INT8"    : 2 ,
	"DOUBLE"  : 4 ,
	"FLOAT"   : 5 ,
	"INT16"   : 7 ,
	"INT32"   : 8 ,
	"INT64"   : 9 ,
	"UNICODE" : 11,
	"UINT8"   : 12,
	"UINT16"  : 13,
	"UINT32"  : 14,
	"UINT64"  : 15,
	"VECTOR3" : 16,
	"VECTOR2" : 17,
	"VECTOR4" : 18,
}

INT8_MIN = (-128)
INT8_MAX = 127
UINT8_MAX = 0xff

INT16_MIN  = (-32768)
INT16_MAX  = 32767
UINT16_MAX = 0xffff

INT32_MIN  = (-2147483647 - 1)
INT32_MAX  = 2147483647
UINT32_MAX = 0xffffffff

INT64_MAX  = 9223372036854775807
INT64_MIN  = (-9223372036854775807 - 1)
UINT64_MAX = 0xffffffffffffffff

FLOAT_MAX  = 3.402823466e+38
FLOAT_MIN  = -(FLOAT_MAX)

DOUBLE_MAX = 1.7976931348623158e+308
DOUBLE_MIN = -(DOUBLE_MAX)

# 回调的最高优先级
HightestPriority = -999999

DEFAULT_OP_TIMEOUT = 10

ROBOT_THINK_MIN_TIME = 1
ROBOT_THINK_MAX_TIME = 3

